package mp.study.demo.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/6/11 20:57
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_school")
public class School
{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
}
